package com.zhkj.txg.module.order.entity

import com.chad.library.adapter.base.entity.node.BaseNode
import com.google.gson.annotations.SerializedName

data class OrderDetailUIShippingEntity(
    val shippingCode: String = "",
    val shippingName: String = "",
    val shippingNumber: String = "",
    val shippingTime: String = ""
) : BaseNode() {
    override val childNode: MutableList<BaseNode>? = null
}

data class OrderDetailUIAddressEntity(
    val consignee: String = "",
    val image: String = "",
    val mobile: String = "",
    val address: String = ""
) : BaseNode() {
    override val childNode: MutableList<BaseNode>? = null
}

data class OrderDetailUIShopEntity(
    @SerializedName("shop_name")
    val shopName: String = "",
    @SerializedName("shop_img")
    val shopImg: String = "",
    @SerializedName("id")
    val shopId: Long = 0
) : BaseNode() {
    override val childNode: MutableList<BaseNode>? = null
}

data class OrderDetailPriceUIEntity(
    val fright: String = "",
    val couponPrice: String = "",
    val totalAmount: String = ""
) : BaseNode() {
    override val childNode: MutableList<BaseNode>? = null
}

data class OrderDetailUIEntity(
    val orderInfo: MutableList<String> = mutableListOf()
) : BaseNode() {
    override val childNode: MutableList<BaseNode>? = null
}